interface Iperson {
  name: string;
  age: number;
  sex: string;
}

const person1: Iperson = { name: '张三', age: 18, sex: '男' };

const person2: Iperson = person1;

console.log(person2);